Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose SymbolKind in hover extensions #78

Merged
merged 4 commits into from
Dec 8, 2024
Merged

Conversation

fwcd
Copy link
Owner

@fwcd fwcd commented Dec 8, 2024

This should make it easier for clients to disambiguate identifiers. The {symbolKind} parameter uses the Show representation of this data type:

data SymbolKind = ValueFunction
                | ValueConstructor
                | Module
                | TypeData
                | TypeNew
                | TypeClass
                | TypeAlias
                | TypeVar
                | Unknown
    deriving (Show, Eq)

@fwcd fwcd added the enhancement New feature or request label Dec 8, 2024
@fwcd fwcd marked this pull request as ready for review December 8, 2024 21:23
@fwcd fwcd merged commit c230297 into main Dec 8, 2024
3 checks passed
@fwcd fwcd deleted the extension-symbolkind-param branch December 8, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant